package com.example.tests;

import org.testng.annotations.Test;

public class ContactCreationsTests extends TestBase {
	
  @Test
  public void testContactCreations() throws Exception {
    openMainPage();
    openAddNew();    
    ContactData contact = new ContactData();
    contact.firstname = "firstname";
    contact.lastname = "lastname";
    contact.address = "address";
    contact.home = "1234567890";
    contact.mobile = "1234567890";
    contact.work = "1234567890";
    contact.email = "test@test.com";
    contact.email2 = "test2@test.com";
    contact.bday = "1";
    contact.bmonth = "January";
    contact.byear = "2000";
    contact.address2 = "secondary address";
    contact.phone2 = "1";   
	fillContactForm(contact);
    submitGroupCreation();
    returnToMainPage();
  }

}
